package com.koron.common.core.business.workflow.feign;

import com.koron.bean.base.Response;
import com.koron.common.core.feignConfig.FeignFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author jzp
 * @since 2022/3/4
 */
@Service
@FeignClient(value = "eam-service-order", fallbackFactory = FeignFallbackFactory.class)
public interface OrderOAFeignService {

    @GetMapping("/todo/sendUsersToOa")
    Response<Object> sendUsersToOa(@RequestParam(value = "fdUsernameList", required = false) List<String> fdUsernameList);

}
